package com.yndsoft.jc.supplier.model;

import java.util.List;

public class CategoryModel {

    /**
     * id : 100001
     * pid : 0
     * sort : 1
     * img : /UpLoadImages/ProductType/20170922179a744d3d-c20f-4b37-85f8-57f0b2ba580d.png
     * name : 食品检测
     * dets : [{"id":100002,"pid":100001,"sort":1,"img":"/noitem.jpg","name":"婴幼儿配方食品","dets":null},{"id":100005,"pid":100001,"sort":2,"img":"/noitem.jpg","name":"乳与乳制品","dets":null},{"id":100006,"pid":100001,"sort":3,"img":"/noitem.jpg","name":"肉及肉制品","dets":null},{"id":100007,"pid":100001,"sort":4,"img":"/noitem.jpg","name":"罐头食品","dets":null},{"id":100008,"pid":100001,"sort":5,"img":"/noitem.jpg","name":"海鱼类食品","dets":null}]
     */

    private String id;
    private String pid;
    private String sort;
    private String img;
    private String name;
    private List<DetsBean> dets;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<DetsBean> getDets() {
        return dets;
    }

    public void setDets(List<DetsBean> dets) {
        this.dets = dets;
    }

    public static class DetsBean {
        /**
         * id : 100002
         * pid : 100001
         * sort : 1
         * img : /noitem.jpg
         * name : 婴幼儿配方食品
         * dets : null
         */

        private String id;
        private String pid;
        private String sort;
        private String img;
        private String name;
        private String dets;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getSort() {
            return sort;
        }

        public void setSort(String sort) {
            this.sort = sort;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDets() {
            return dets;
        }

        public void setDets(String dets) {
            this.dets = dets;
        }
    }
}
